package org.university.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.university.entity.ClassroomAssignment;

@Repository
public interface ClassroomAssignmentRepository extends JpaRepository<ClassroomAssignment, Integer> {
    // List<ClassroomAssignment> findByTeachingClassClassId(String classId);
    Page<ClassroomAssignment> findByDeletedFalse(Pageable pageable);
}
